
import Executor from "../../executor";

export default (main:Executor,id:string,ctx:any) => {
    const data = main.getCellData(id) || {};
    const {exp} = data;
    const md = main.eval(exp,ctx);
    ctx.$md = md;
    main.Cells.next(id,ctx)
}